package com.aboo.service;

import com.aboo.po.Company;
import com.aboo.vo.ReturnVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "eureka-client-two", fallback = ICompanyServiceFallback.class)
public interface ICompanyService {

    @RequestMapping("/company/get/{id}")
    ReturnVO<Company> get(@PathVariable("id") String id);

}
